<template>
	<view class="white">

	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {

		},

		onLoad(option) {
			if (option.token) {
				uni.setStorageSync('token', option.token);
				uni.setStorageSync('cid', option.cid);
				uni.setStorageSync('terminal', option.terminal);
			}
			if (option.rid) {
				this.$util.toUrl(`/pages/extension/live?rid=${option.rid}`);
			} else if (option.article_id) {
				this.$util.toUrl(`/pages/extension/work?article_id=${option.article_id}`);
			} else {
				this.$util.toUrl(`/pages/extension/extension`);
			}
		},

	}
</script>

<style lang="less" scoped>

</style>